package top.gradual.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Description:
 * @Author: gradual
 * @Date: 2019-05-21 23:39
 */
@SpringBootApplication
@EnableEurekaClient
//启动该微服务的时候就能去加载我们的自定义Ribbon配置类，从而使配置生效
//name指的是需要使用自定义规则的微服务名称，
//@RibbonClient(name = "PROVIDER-DEPT", configuration = MySelfRule.class)
public class ConsumerDept80Application {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerDept80Application.class, args);
    }
}
